package com.ssm.supplier.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssm.supplier.entity.SsmSudetailsEntity;
import com.ssm.supplier.entity.vo.SudetailsDto;
import com.ssm.supplier.entity.vo.SuorderDto;
import com.ssm.supplier.entity.vo.SupplierGoodsVo;
import com.ssm.supplier.entity.vo.SupplierOrderDetailsVo;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * 
 * 
 * @author ssm
 * @email sunlightcs@gmail.com
 * @date 2023-03-19 17:27:39
 */
@Mapper
public interface SsmSudetailsDao extends BaseMapper<SsmSudetailsEntity> {

    List<SudetailsDto> selectdetail(String id);
    //供货端获取供货订单详情
    public List<SupplierOrderDetailsVo> findSupplierDetailsById(@Param("id")String id);
    //根据id删除供货端订单详情
    public void deleteSuOrderInfoById(@Param("id")Integer id);
    //根据id查询供货端商品列表
    public List<SupplierGoodsVo> findGoodsById(@Param("id") Integer id);


}
